package com.hbnu.pojo;

import jdk.nashorn.internal.ir.SplitReturn;

import java.io.BufferedReader;
import java.io.PrintWriter;
import java.net.Socket;
import java.util.List;

public class Play {
    private Integer id;
    private String name;
    private Socket socket;
    private Integer shoots;
    private Integer destiny;
    private PrintWriter out;
    private BufferedReader input;
    private Integer disabled;
    private List<String> playBoard;

    public Play(Integer id, String name, Socket socket, Integer shoots, Integer destiny, PrintWriter out, BufferedReader input, Integer disabled, List<String> playBoard) {
        this.id = id;
        this.name = name;
        this.socket = socket;
        this.shoots = shoots;
        this.destiny = destiny;
        this.out = out;
        this.input = input;
        this.disabled = disabled;
        this.playBoard = playBoard;
    }

    @Override
    public String toString() {
        return "Play{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", socket=" + socket +
                ", shoots=" + shoots +
                ", destiny=" + destiny +
                ", out=" + out +
                ", input=" + input +
                ", disabled=" + disabled +
                ", playBoard=" + playBoard +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Socket getSocket() {
        return socket;
    }

    public void setSocket(Socket socket) {
        this.socket = socket;
    }

    public Integer getShoots() {
        return shoots;
    }

    public void setShoots(Integer shoots) {
        this.shoots = shoots;
    }

    public Integer getDestiny() {
        return destiny;
    }

    public void setDestiny(Integer destiny) {
        this.destiny = destiny;
    }

    public PrintWriter getOut() {
        return out;
    }

    public void setOut(PrintWriter out) {
        this.out = out;
    }

    public BufferedReader getInput() {
        return input;
    }

    public void setInput(BufferedReader input) {
        this.input = input;
    }

    public Integer getDisabled() {
        return disabled;
    }

    public void setDisabled(Integer disabled) {
        this.disabled = disabled;
    }

    public List<String> getPlayBoard() {
        return playBoard;
    }

    public void setPlayBoard(List<String> playBoard) {
        this.playBoard = playBoard;
    }
}
